package cn.sofwin.boot.crud.entity;

import cn.sofwin.core.mvc.entity.IdEntity;

/**
 * 实体
 * @author LetCode
 * @since 1.0
 *
 */
public class MallOrdre extends IdEntity {
	
	private static final long serialVersionUID = -3194591007698506079L;
	
	/** 用户id */
	private Integer userId;

	/** 商品id */
	private Integer goodId;

	/** 订单金额，单位：分 */
	private Integer money;

	/** 状态：-1.删除，0.等待支付，1.等待发货，2.等待收货,3.订单完成 */
	private Integer status;

	public MallOrdre() {
	}

	public MallOrdre(Integer id) {
		this.id = id;
	}
	
	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	public Integer getGoodId() {
		return this.goodId;
	}

	public void setGoodId(Integer goodId) {
		this.goodId = goodId;
	}
	
	public Integer getMoney() {
		return this.money;
	}

	public void setMoney(Integer money) {
		this.money = money;
	}
	
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
}